<!DOCTYPE html>
<html>
 <head> 
  <meta charset="utf-8" /> 
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> 
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> 
  <title>{$data.name}</title> 
  <link rel="stylesheet" href="__STATIC__assets/libs/layui/css/layui.css" /> 
  <link rel="stylesheet" href="__STATIC__assets/module/admin.css?v=318" /> 
  <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]--> 
    <style>
        /** 项目列表样式 */
        .project-list-item {
            background-color: #fff;
            border: 1px solid #e8e8e8;
            border-radius: 4px;
            cursor: pointer;
            transition: all .2s;
        }

        .project-list-item:hover {
            box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
        }

        .project-list-item .project-list-item-cover {
            width: 100%;
            height: 220px;
            display: block;
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
        }

        .project-list-item-body {
            padding: 20px;
        }

        .project-list-item .project-list-item-body > h2 {
            font-size: 18px;
            color: #333;
            margin-bottom: 12px;
        }

        .project-list-item .project-list-item-text {
            height: 44px;
            overflow: hidden;
            margin-bottom: 12px;
        }

        .project-list-item .project-list-item-desc {
            position: relative;
        }

        .project-list-item .project-list-item-desc .time {
            color: #999;
            font-size: 12px;
        }

        .project-list-item .project-list-item-desc .ew-head-list {
            position: absolute;
            right: 0;
            top: 0;
        }

        .ew-head-list .ew-head-list-item {
            width: 22px;
            height: 22px;
            border-radius: 50%;
            border: 1px solid #fff;
            margin-left: -10px;
        }

        .ew-head-list .ew-head-list-item:first-child {
            margin-left: 0;
        }
        /** // 项目列表样式结束 */
    </style>
 </head> 
 <body> 
  <!-- 正文开始 --> 
  <div class="layui-fluid ew-console-wrapper"> 
   <div class="layui-row layui-col-space15"> 
    <div class="layui-col-xs12 layui-col-md4"> 
     <!-- 填充内容 --> 
     <div class="layui-card layui-form-pane"> 
      <div class="layui-card-header">
       云端状态
      </div> 
      <div class="layui-card-body"> 
       <div class="layui-form-item"> 
        <label class="layui-form-label">服务器地址</label> 
        <div class="layui-input-block">
            <input placeholder="服务器地址" class="layui-input text-center" lay-verType="tips" value="{$data.pcyjk1}" readonly/>
        </div>
       </div> 
       <div class="layui-form-item"> 
        <label class="layui-form-label">服务器响应</label> 
        <div class="layui-input-block"> 
            <input placeholder="服务器响应" class="layui-input text-center " lay-verType="tips" value="{$data.pcyjk2}" readonly/>
        </div> 
       </div> 
       <div class="layui-form-item"> 
        <label class="layui-form-label">服务器状态</label> 
        <div class="layui-input-block"> 
            <input placeholder="服务器状态" class="layui-input text-center " lay-verType="tips" value="{$data.pcyjk3}" readonly/>
        </div> 
       </div> 
      </div> 
     </div>

     <div class="layui-card layui-form-pane"> 
      <div class="layui-card-header">
       通道监控（计划任务）
      </div> 
      <div class="layui-card-body"> 
       <div class="layui-form-item"> 
        <label class="layui-form-label">监控状态</label> 
        <div class="layui-input-block">
            <input placeholder="监控状态" class="layui-input text-center" lay-verType="tips" value="{$data.cehsald}" readonly/>
        </div>
       </div> 
      </div> 
     </div> 
     
    </div> 
    <div class="layui-col-xs12 layui-col-md8"> 
     <!-- 填充内容 --> 
     <div class="layui-card"> 
      <div class="layui-card-header">
       云端说明
      </div> 
      
    <div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-tab layui-tab-brief">
            <div class="layui-row layui-col-space10" >
                
                <div class="layui-col-md6">
                    <div class="project-list-item">
                        
                        <div class="project-list-item-body">
                            <h2 class="text-center">本地云端</h2>
                            <div class="project layui-text"><hr>
                                本地云端不在线不影响使用监控端，但是不能用免挂！<br>
                                本地云端需要一个服务器（window系统）<br>
                                推荐win2016或者win2012也可以<br>
                                源码开源，开发源码不容易，云端收费请理解！<br>
                                本地云端所有的操作都是在你服务器进行的，不会被官方控制<br>
                                本地云端软件需要激活才能用<br>
                                授权/下载地址<a href="http://yun.zfcunmi.com" class="ButAN backB1">点击前往</a><br>
                            </div><hr>
                        </div>   
                    </div>
                </div>
                 <div class="layui-col-md6">
                    <div class="project-list-item">
                        <!--       <img class="project-list-item-cover" src="__STATIC__assets/images/1920bg.jpg"/>-->
                        <div class="project-list-item-body">
                            <h2 class="text-center">计划任务说明</h2>
                            <div class="project layui-text"><hr>
                                
                                最好使用宝塔监控<br>
                                温馨提示：监控最好不要设置太快，不然会出现限制问题（改下面的step=15）15是秒速<br>
                                计划任务-任务类型：Shell脚本<br>
                                任务名称：随便取<br>
                                执行周期：N分钟：1分钟<br>
                                脚本内容：<br>
                                <li class="list-group-item">PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin<br>
export PATH<br>
step=15<br>
for (( i = 0; i < 60; i=(i+step) )); do<br>
curl -sS --connect-timeout 10 -m 60 '{$data.url}cehsald?user={$data.user}'<br>
echo "-------------------未速码支付监控成功----------------------"<br>
endDate=`date +"%Y-%m-%d %H:%M:%S"`<br>
echo "★[$endDate] Successful"<br>
echo "-------------------未速码支付监控成功----------------------"<br>
sleep $step<br>
done<br>
exit 0<br></li>
                            </div><hr>
                            
                        </div>   
                    </div>
                </div>
                
                
            </div>
        </div>
    </div>
    </div>
    
   </div> 
  </div> 
  <!-- js部分 --> 
  <script type="text/javascript" src="__STATIC__assets/js/jquery@1.11.3.js"></script>
  <script type="text/javascript" src="__STATIC__assets/libs/layui/layui.js"></script> 
  <script type="text/javascript" src="__STATIC__assets/js/common.js?v=318"></script> 
  <script>
  $("#src").attr('src', "{:url('pay/enQrcode')}?url="+window.location.host+"/{$data.key}/{$data.id}");
  $('#fsdrf').val(window.location.host+"/{$data.key}/{$data.id}");
    function fuzhi(s) {
            s.select(); // 选择对象
            document.execCommand("Copy"); // 执行浏览器复制命令
            layer.msg("复制成功！");
    }
</script>  
 </body>
</html>